<%--
  Created by IntelliJ IDEA.
  User: 11935
  Date: 2022/5/5
  Time: 15:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>fileupload.jsp</title>
</head>
<body>


<%-- 单文件上传--%>
<form method="post" action="/upload" enctype="multipart/form-data">
    用户名:<input name="username"/></br>
    <input name="myFile"  type="file">
    <input type="submit" value="上传">
</form>
<%--    批量文件上传--%>
    <form method="post" action="/moreUpload" enctype="multipart/form-data">
        用户名:<input name="username"/></br>
        <input name="myFile"  type="file"></br>
        <input name="myFile"  type="file"></br>
        <input type="submit" value="上传">

    </form>
</body>
</html>
